/**
 * Simplest application of servlet
 */
package com.jeanhwea.myservlet;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Jeanhwea
 *
 */
public class HelloWorldServlet extends HttpServlet{
  /**
   * 
   */
  private static final long serialVersionUID = -4795344655885497694L;

  public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException{
    PrintWriter out = res.getWriter();
    out.println("<html><head><title>Title</title></head><body>Hello World</body></html>");
  }
}
